package com.atguigu.service;


import com.atguigu.pojo.Setmeal;
import com.atguigu.vo.PageResult;
import com.github.pagehelper.Page;

import java.util.List;

/**
 * @author zhengkaiyuan
 * @version 1.0
 * @create 2021-06-21 19:29
 */


public interface SetmealService {

    void add(Setmeal setmeal, Integer[] travelGroups);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void delete(Integer id);

    Setmeal findById(Integer id);

    List<Integer> findTravelgroupBySetmealId(Integer id);

    void edit(Setmeal setmeal, Integer[] travelGroupIds);

    String downLoadFile(String path, String queryString) throws Exception;

    Setmeal mobileFindById(int id);

    List<Setmeal> findAll();

    Setmeal getSetmealInfoById(Integer id);
}
